package com.wicket.okrcomponent.integration;

import com.wicket.okrcomponent.common.ro.OkrResult;
import com.wicket.okrcomponent.integration.dto.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@FeignClient("component")
public interface FwCompTargetCalcClient {
/**
   * D2查询目标标准数据列表(redis)
   */
    @PostMapping("/comp/targetCalc/queryTargetStandardDataListCom")
    public OkrResult<QueryTargetStandardDataListComRespDto> queryTargetStandardDataListCom(QueryTargetStandardDataListComReqDto reqDTO);
/**
   * D2新增目标标准数据(redis)
   */
    @PostMapping("/comp/targetCalc/addTargetStandardDataCom")
    public OkrResult<AddTargetStandardDataComRespDto> addTargetStandardDataCom(AddTargetStandardDataComReqDto reqDTO);
/**
   * D2准备刷OKR树目标归属周期配置(公共)
   */
    @PostMapping("/comp/targetCalc/preparationBrushOkrTreeTargetAttributionCycleConfCom")
    public OkrResult<PreparationBrushOkrTreeTargetAttributionCycleConfComRespDto> preparationBrushOkrTreeTargetAttributionCycleConfCom(PreparationBrushOkrTreeTargetAttributionCycleConfComReqDto reqDTO);
/**
   * D2获取成果等级转量化得分(公共)
   */
    @PostMapping("/comp/targetCalc/obtainQuantitativeScoreForAchievementLevelCalcCom")
    public OkrResult<ObtainQuantitativeScoreForAchievementLevelCalcComRespDto> obtainQuantitativeScoreForAchievementLevelCalcCom(ObtainQuantitativeScoreForAchievementLevelCalcComReqDto reqDTO);
/**
   * D2执行数值上不封顶判断(公共)
   */
    @PostMapping("/comp/targetCalc/implementNonCappedNumJudgeCom")
    public OkrResult<ImplementNonCappedNumJudgeComRespDto> implementNonCappedNumJudgeCom(ImplementNonCappedNumJudgeComReqDto reqDTO);
/**
   * D2准备目标完成数与完成率计算配置(公共)
   */
    @PostMapping("/comp/targetCalc/implementPrepareTargetReachedCalcConfCom")
    public OkrResult<ImplementPrepareTargetReachedCalcConfComRespDto> implementPrepareTargetReachedCalcConfCom(ImplementPrepareTargetReachedCalcConfComReqDto reqDTO);
///**
//   * D2准备刷OKR树目标归属周期配置(公共)
//   */
//    @PostMapping("/comp/targetCalc/preparationBrushOkrTreeTargetAttributionCycleConfCom")
//    public OkrResult<PreparationBrushOkrTreeTargetAttributionCycleConfComRespDto> preparationBrushOkrTreeTargetAttributionCycleConfCom(PreparationBrushOkrTreeTargetAttributionCycleConfComReqDto reqDTO);
//  //
}
